// import http from 'http'
import logger from 'winston'

import config from '../config'
import server from './server'

// const server = http.createServer(app.callback())
// server.listen(config.server.port)
// logger.info(`App is listening on port ${config.server.port}`)

server.listen(config.server.port, () => {
  logger.info(`App is listening on port ${config.server.port}`)
})
